package com.villaday.idf.model;

/**
 * Created by tudou on 2018/9/7.
 */

public class Product {
    /*
    * id": "string,产品ID",
    "type": "integer,产品类型，100：房源",
    "quantity": "integer,订单产品数量，允许为空，默认为1"

    * */

    private String id;
    private int type;
    private int quantity;

    public Product(String id, int type, int quantity) {
        this.id = id;
        this.type = type;
        this.quantity = quantity;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }
}
